package com.deelete.springcloud.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.deelete.springcloud.pojo.Storage;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;


@Repository
@Mapper
public interface StorageMapper extends BaseMapper<Storage> {
    //操作库存
    int createStorage(@Param("productId") Long productId, @Param("count") Integer count);
}
